import { defineStore } from "pinia";
import { useCouponBaseStore } from "./coupon-base";

export const useCouponStore = defineStore("coupon", () => {
  const couponStore = useCouponBaseStore();
  return {
    getCoupons: couponStore.getCoupons,
    getCoupon: couponStore.getCoupon,
    saveCoupon: couponStore.saveCoupon,
    deleteCoupon: couponStore.deleteCoupon
  };
});
